WCPay\WooPay\WooPay_Session C

Total Complexity 117
Dependencies 20
Dependents 4
Total lines 693
Lines of code 398
Logical lines of code 213
Comment lines 170
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
get_init_session_request()
B
33 20 88
woopay_order_payment_status_changed()
A
49 10 30
get_user_id_from_cart_token()
A
52 10 22
ajax_init_woopay()
A
47 8 32
get_payload_from_cart_token()
S
55 7 20
determine_current_user_for_woopay()
S
56 6 18
add_woopay_store_api_session_handler()
S
60 6 13
automatewoo_refer_a_friend_referral_from_parameter()
S
60 5 13
get_store_api_url()
S
61 5 11
run_and_remove_woopay_restore_order_customer_id_schedules()
S
58 4 16
is_store_api_request()
S
57 4 15
get_frontend_init_session_request()
S
62 5 10
is_woopay_enabled()
S
68 5 6
ajax_get_woopay_session()
S
58 3 17
ajax_get_woopay_minimum_session_data()
S
58 3 17
get_woopay_minimum_session_data()
S
57 3 17
get_formatted_custom_message()
S
57 3 16
is_request_from_woopay()
S
77 2 3
get_woopay_verified_email_address()
S
74 2 4
restore_order_customer_id_from_requests_with_verified_email()
S
65 2 9
has_valid_request_signature()
S
79 1 3
init_store_api_token()
S
76 1 4
create_woopay_nonce()
S
68 1 6
init()
S
65 1 8